package com.atguigu.lease.common.exception;

import com.atguigu.lease.common.result.ResultCodeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * ClassName:LeaseException
 * Package: com.atguigu.lease.common.exception
 * Description:
 *
 * @Author Makabaka
 * @Create 2024/9/23 16:42
 * @Version 1.0
 */
//此处的Data为了提示错误码和错误信息  提供get方法
//全参构造器是为了创建删除公寓的异常对象
@Data
@AllArgsConstructor
public class LeaseException extends RuntimeException{

    private ResultCodeEnum resultCodeEnum;


}
